package com.jaychen.eureka.domain.constant;

/**
 * 服务常量
 *
 * @Author Jay Chen
 * @Date 2020-10-24 12:02
 * @Version 1.0
 */
public class ServerConstant {

    /**
     * 缓存自动失效时间
     */
    public static final Long CACHE_AUTO_EXPIRATION_IN_SECONDS = 180L;

    /**
     * 缓存更新时间
     */
    public static final Long CACHE_UPDATE_INTERVALMS = 30 * 1000L;

    /**
     * 定时扫描registry
     */
    public static final Long CACHE_SCAN_TIMER = 30 * 1000L;
}
